package com.crmapi.service;

import com.crmapi.pojo.Customer;
import com.crmapi.pojo.PageBean;
import com.crmapi.pojo.Receive;

import java.util.List;

/**
 * <p>Project: CRMSystem - CustomerService</p>
 * <p>Powered by yzc On 2023-11-23 09:16:19</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface CustomerService {

    //分页条件查询
    PageBean queryList(Integer page, Integer pageSize, String name, Integer source, Integer level,
                       Integer followStatus,Integer status);

    //添加客户
    int insertCustomer(Customer customer);

    //批量删除
    int del(List<String> ids);

    //更新客户
    int updateCustomer(Customer customer);


    //领取客户
    int receive(Receive receive);

    //放回公海
    int radiance(List<String> ids);

    //查询全部客户
    List<Customer> queryAll();

    //根据id差联系人
    String queryContact(String id);
}
